import req from "@/api/axios";
export default {
  // 获取电表 /om/v1/energyEquipment/queryAll
  queryAll() {
    return req.get("/om/v1/energyEquipment/queryAll")
  },
  // 查询电能历史数据 消耗累积量/om/v1/electricEnergy/queryEnergyHistory
  electricEnergy(params) {
    return req.post("/om/v1/electricEnergy/queryEnergyHistory", params)
  },
  // 查询水能历史数据 消耗累积量 /om/v1/waterEnergy/queryEnergyHistory
  waterEnergy(params) {
    return req.post("/om/v1/waterEnergy/queryEnergyHistory", params)
  },
  // 分页查询数据 /om/v1/energyEquipment/queryPageList
  queryPageList(params) {
    return req.post("/om/v1/energyEquipment/queryPageList", params)
  }
}
